package com.itaming.lycheeframework.security.authorization;

import java.lang.annotation.*;

/**
 * 授权验证注解
 *
 * @author A.Ming
 */
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface PreAuth {

    /**
     * 授权验证<code>SPEL</code>表达式
     */
    String value();

}
